<template>
    <div class="order-container">
        <div class="nav-container">
            <van-nav-bar
                    left-text=""
                    @click-left="onClickLeft"
                    @click-right="onClickRight"
            >
                <span slot="title" style="font-size: 18px; font-weight: bold;">商城</span>
                <van-icon name="search" slot="right" />
            </van-nav-bar>
        </div>



    </div>
</template>

<script>
    export default {
        name: "shop-index",
        data() {
            return {

            }
        },
        methods: {
            onClickRight() {
                this.$toast('设置');
            }
        }
    }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
    @import "../../styles/base/variables";
    .nav-container{
        .van-nav-bar{
            background: $vanNavBarBackground;
        }
    }


</style>